package com.nuonuo.middleware;

import com.nuonuo.middleware.enums.SpecialGoodsEnum;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

///**
// * @author duan
// * @version 1.0
// * @date 2023/8/8 18:41
// */
@SpringBootApplication
public class DockerApplication {

    private static final Logger LOGGER = LoggerFactory.getLogger(DockerApplication.class);

    private static final ThreadLocal<String> THREAD_LOCAL = new ThreadLocal<>();

    public static void main(String[] args) {
        SpringApplication.run(DockerApplication.class, args);
//        System.out.println("The application starts successfully!");
        LOGGER.info("The application starts successfully!");

//        String str = "150301199811285326";
//        System.out.println(str.hashCode() % 256);


    }
//        public static void main(String[] args) {
////            System.out.println(Long.parseLong(""));
//            THREAD_LOCAL.set("123456");
//            System.out.println(THREAD_LOCAL.get());
//            System.out.println(THREAD_LOCAL.get());
//        }
}
